﻿using System;


namespace epicenter2010.NH.Customisation.Naming
{
    /// <summary>
    /// Customer entity
	/// bstack @ 06/06/2010
    /// </summary>
    public class Customer
    {
		private Guid c_id;
		private string c_firstName;
		private string c_lastName;


        /// <summary>
        /// Id
        /// </summary>
		public Guid Id { get { return this.c_id; } }

        /// <summary>
        /// First name
        /// </summary>
		public string FirstName { get { return this.c_firstName; } }

        /// <summary>
        /// Last name
        /// </summary>
		public string LastName { get { return this.c_lastName; } }


		/// <summary>
		/// Ctor, required for NHibernate
		/// </summary>
		private Customer() { }


		/// <summary>
		/// Ctor with args
		/// </summary>
		/// <param name="id"></param>
		/// <param name="firstName"></param>
		/// <param name="lastName"></param>
		public Customer(
			Guid id,
			string firstName,
			string lastName)
		{
			// DBC checks would exist here
			this.c_id = id;
			this.c_firstName = firstName;
			this.c_lastName = lastName;
		}
    }
}
